package com.zzyl.nursing.service.impl;

import cn.hutool.core.bean.BeanUtil;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.github.pagehelper.PageHelper;
import com.zzyl.nursing.domain.NursingProject;
import com.zzyl.nursing.dto.NursingProjectDto;
import com.zzyl.nursing.mapper.NursingProjectMapper;
import com.zzyl.nursing.mapper.OrdersProjectMapper;
import com.zzyl.nursing.service.IOrdersProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrdersProjectServiceImpl extends ServiceImpl<OrdersProjectMapper, NursingProject> implements IOrdersProjectService {
    @Autowired
    private OrdersProjectMapper ordersProjectMapper;

    /**
     * 获取护理项目列表
     * @param nursingProject
     * @return
     */
    @Override
    public List<NursingProject> selectNursingProjectList(NursingProject nursingProject) {
        List<NursingProject> list = ordersProjectMapper.selectOrdersProjectList(nursingProject);
        return list;
    }
}
